CVE-2026-41311
LiquidJS is vulnerable to Denial of Service via circular block reference in layout
Description
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to version 10.25.7, a circular block reference in {% layout %} / {% block %} causes an infinite recursive loop, consuming all available memory (~4GB) and crashing the Node.js process with FATAL ERROR: JavaScript heap out of memory. This allows any user who can submit a Liquid template to perform a Denial of Service attack. This issue has been patched in version 10.25.7.
INFO
Published Date :
May 9, 2026, 4:16 a.m.
Last Modified :
May 14, 2026, 6:40 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update LiquidJS to version 10.25.7 or later.
- Apply security patches for LiquidJS.
- Validate template rendering logic.
Public PoC/Exploit Available at Github
CVE-2026-41311 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-41311.
| URL | Resource |
|---|---|
| https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0 | Patch |
| https://github.com/harttle/liquidjs/releases/tag/v10.25.7 | Product Release Notes |
| https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 | Exploit Vendor Advisory |
| https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-41311 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-41311
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Building at the edge of creativity 🎨 Code, 3D fashion, and AI-driven experiences living in one inclusive digital portfolio.
ai-apps investment language-learning portfolio woodworking 3d-fashion
HTML JavaScript Nunjucks CSS
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-41311 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-41311 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 14, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CPE Configuration OR *cpe:2.3:a:liquidjs:liquidjs:*:*:*:*:*:node.js:*:* versions up to (excluding) 10.25.7 Added Reference Type GitHub, Inc.: https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/harttle/liquidjs/releases/tag/v10.25.7 Types: Product, Release Notes Added Reference Type CISA-ADP: https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 Types: Exploit, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 11, 2026
Action Type Old Value New Value Added Reference https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 -
New CVE Received by [email protected]
May. 09, 2026
Action Type Old Value New Value Added Description LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to version 10.25.7, a circular block reference in {% layout %} / {% block %} causes an infinite recursive loop, consuming all available memory (~4GB) and crashing the Node.js process with FATAL ERROR: JavaScript heap out of memory. This allows any user who can submit a Liquid template to perform a Denial of Service attack. This issue has been patched in version 10.25.7. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-674 Added Reference https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0 Added Reference https://github.com/harttle/liquidjs/releases/tag/v10.25.7 Added Reference https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548